<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Default.Master" CodeBehind="Events.aspx.vb" Inherits="KDESolutions.Providers.UnitTests.Events" 
    title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="LeftPane" runat="server">
    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False">
        <Columns>
            <asp:BoundField DataField="EventId" HeaderText="EventId" SortExpression="EventId" />
            <asp:BoundField DataField="EventEndDate" HeaderText="EventEndDate" SortExpression="EventEndDate" />
            <asp:BoundField DataField="EventStartDate" HeaderText="EventStartDate" SortExpression="EventStartDate" />
            <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
            <asp:BoundField DataField="Url" HeaderText="Url" SortExpression="Url" />
            <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
        </Columns>
    </asp:GridView>
    &nbsp;
    <asp:Button ID="Button2" runat="server" Text="Button" />
    <asp:Calendar ID="cdSelect" runat="server" Height="184px" Width="368px" SelectionMode="DayWeekMonth"></asp:Calendar>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CenterPane" runat="server">
    &nbsp;
    <asp:TextBox ID="txtTitle" runat="server" Width="376px"></asp:TextBox><br />
    &nbsp;
    <asp:TextBox ID="txtDescription" runat="server" Width="376px"></asp:TextBox>&nbsp;
    <br />
    <asp:TextBox ID="txtURL" runat="server" Width="384px"></asp:TextBox>
    <asp:Calendar ID="cdStart" runat="server" Height="192px" Width="256px"></asp:Calendar>
    &nbsp;
    <br />
    <asp:Calendar ID="cdEnd" runat="server"></asp:Calendar>
    <asp:Button ID="Button1" runat="server" Text="Button" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightPane" runat="server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" DataKeyNames="EventId">
        <Columns>
            <asp:CommandField ShowEditButton="True" />
            <asp:BoundField DataField="EventId" HeaderText="EventId" SortExpression="EventId" />
            <asp:BoundField DataField="EventEndDate" HeaderText="EventEndDate" SortExpression="EventEndDate" />
            <asp:BoundField DataField="EventStartDate" HeaderText="EventStartDate" SortExpression="EventStartDate" />
            <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
            <asp:BoundField DataField="Url" HeaderText="Url" SortExpression="Url" />
            <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
            <asp:CommandField ShowDeleteButton="True" />
        </Columns>
    </asp:GridView>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetEvents"
        TypeName="KDESolutions.Providers.Events.EventService" DeleteMethod="RemoveEvent" InsertMethod="AddEvent" UpdateMethod="UpdateEvent">
        <DeleteParameters>
            <asp:Parameter Name="EventId" Type="String" />
            <asp:Parameter Name="Username" Type="String" />
        </DeleteParameters>
        <UpdateParameters>
            <asp:Parameter Name="EventItem" Type="Object" />
            <asp:Parameter Name="Username" Type="String" />
        </UpdateParameters>
        <InsertParameters>
            <asp:Parameter Name="EventItem" Type="Object" />
            <asp:Parameter Name="Username" Type="String" />
        </InsertParameters>
    </asp:ObjectDataSource>
</asp:Content>
